<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>客服列表</title>

		<meta name="author" content="0912652" />
		<meta name="description"
			content="酒店前台预约系统是一款基于J2EE的模拟酒店前台电话客服、客房预订等功能的客服管理系统" />

		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<table>
			<tr>
				<td>
					序号
				</td>
				<td>
					头像
				</td>
				<td>
					工号
				</td>
				<td>
					姓名
				</td>
				<td>
					性别
				</td>
				<td>
					权限
				</td>
				<td width="50">
					操作
				</td>

			</tr>
			<s:iterator var="customerserver" value="#session.allCustServer"
				status="index">
				<tr>
					<td>
						<s:property value="#index.count" />
					</td>
					<td>
						<img src='<s:property value="#customerserver.photo"/>' height="60"
							width="60" />
					</td>
					<td>
						<s:property value="#customerserver.snum" />
					</td>
					<td>
						<s:property value="#customerserver.sname"></s:property>
					</td>
					<td>
						<s:property value="#customerserver.ssex"></s:property>
					</td>
					<td>
						<s:property value="#customerserver.authority" />
					</td>

					<td width="50">
						<s:a action="Supervisor.action" method="removeCustServerById">
							<s:param name="sid" value="#customerserver.sid" />删除  				
 						</s:a>
						<s:a action="Supervisor.action" method="getCustServerById">
							<!-- 
							<s:param name="sid" value="#session.custServerInfo.sid" />
							 -->
							
							<s:param name="sid" value="#customerserver.sid" />修改 				 				
 						</s:a>
					</td>
				</tr>
			</s:iterator>
		</table>
	</body>
</html>
